package pl.edu.agh.gt.ga;

public class PopulationStats {

	Individual bestIndividual;
	int size;
	double meanFitness;
	double sigma;
	double sigmaPlus;
	double sigmaMinus;

	public Individual getBestIndividual() {
		return bestIndividual;
	}
	public double getMeanFitness() {
		return meanFitness;
	}
	public double getSigma() {
		return sigma;
	}
	public double getSigmaPlus() {
		return sigmaPlus;
	}
	public double getSigmaMinus() {
		return sigmaMinus;
	}
	
	@Override
	public String toString() {
		return " size = "+size+" best: "+bestIndividual+"\n\tmean fit.: "+meanFitness+" sigma: "+sigma+" sigma+ : "+sigmaPlus+
		" sigma- : "+sigmaMinus;
	}
}
